﻿using System.Collections;
using com.guojin.core.io.message;
using com.guojin.core.io;
using System;

namespace com.guojin.mj.net.message.login
{

    public class GetCheckNumber : Message
    {
        public static int TYPE = 7;
        public static int ID = 76;
        private int culbId;

        public static GetCheckNumber Create(int _clubid) {
            GetCheckNumber gc = new GetCheckNumber();
            gc.culbId = _clubid;
            return gc;
        }
        public int CulbId
        {
            get
            {
                return culbId;
            }

            set
            {
                culbId = value;
            }
        }

        public void decode(Input _in)
        {
            
        }

        public void encode(Output _out)
        {
            _out.writeInt(culbId);
        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "culbId" + culbId;
        }
    }
}